<?php if (isset ($model)): ?>
<?php
$this->breadcrumbs=array(
	$model->title,
);?>
<h1 class="title"><?php echo $model->title ?></h1>
<?php echo $model->body ?>
<!--<hr />-->
<script type="text/javascript" src="/js/highslide.js"></script>
<ul id="additional_images" style="list-style: none;">
<?php
    $images = $model->getAdditionalImagesAll($model->id);
    foreach($images as $image){
        echo '<li id="additional_images">';
        echo '<a onclick="return hs.expand(this)" class="highslide" href="/uploads/thumbnail_700_700/'.$image->image.'">';
        echo '<img style="padding-left: 5px; padding-top: 15px;" src="/uploads/thumbnail_150_150/'.$image->image.'">'; echo '</a>';
        echo '</li>';
    }
?>
</ul>
<?php endif; ?>
